//
// Created by 束庆乐 on 2024/12/23.
//
#include "stdio.h"
int cal(int x){
    if(x == 1){
        return 1;
    }
    return x* cal(x-1);
}

int main041(){
    int x = 5;
    int result;
    result = cal(x);
    printf("result==%d\n",result);
    return 0;
}